package com.yanqu.road.server.gameplayer.module.activity.tomb.service;

import com.google.protobuf.AbstractMessage;
import com.google.protobuf.InvalidProtocolBufferException;
import com.yanqu.road.pb.syncMessage.SyncMessage;
import com.yanqu.road.pb.tomb.Tomb;
import com.yanqu.road.server.game.service.IGameServiceCommand;
import com.yanqu.road.sync.message.SyncResponse;

public class TombUserPatronsInfoServiceCmd implements IGameServiceCommand {
    @Override
    public SyncResponse execute(SyncMessage.Request request) throws InvalidProtocolBufferException {
        SyncResponse syncResponse = new SyncResponse();
//        Tomb.TombUserPatronsInfoReq req = Tomb.TombUserPatronsInfoReq.parseFrom(request.getDataBytes());
//        Tomb.TombUserPatronsInfoResp.Builder builder = Tomb.TombUserPatronsInfoResp.newBuilder();
//        Tomb.PatronsTemp.Builder p = Tomb.PatronsTemp.newBuilder();
//        p.setId(1);
//        builder.addPatronsList(p);
//        syncResponse.setResponseBuilder(builder);
        return syncResponse;
    }
}
